Eclipse Platform
Pre-release 3.0

org.eclipse.team.ui.synchronize.actions
Class SyncInfoFilter

java.lang.Object
  extended byorg.eclipse.team.ui.synchronize.actions.SyncInfoFilter
Direct Known Subclasses:
SyncInfoFilter.AutomergableFilter, SyncInfoFilter.CompoundSyncInfoFilter, SyncInfoFilter.PseudoConflictFilter, SyncInfoFilter.SyncInfoChangeTypeFilter, SyncInfoFilter.SyncInfoDirectionFilter

public class SyncInfoFilter
extends Object

A SyncInfoFilter can be used to control, at a fine grain, SyncInfo instances in a SyncInfoSet.

Since:
3.0
See Also:
SyncInfoSet

Nested Class Summary
static class SyncInfoFilter.AndSyncInfoFilter
          Selects SyncInfo which match all child filters
static class SyncInfoFilter.AutomergableFilter
           
static class SyncInfoFilter.CompoundSyncInfoFilter
           
static class SyncInfoFilter.OrSyncInfoFilter
          Selects SyncInfo that match any of the child filters.
static class SyncInfoFilter.PseudoConflictFilter
           
static class SyncInfoFilter.SyncInfoChangeTypeFilter
           
static class SyncInfoFilter.SyncInfoDirectionFilter
           
 
Constructor Summary
SyncInfoFilter()
           
 
Method Summary
static SyncInfoFilter getDirectionAndChangeFilter(int direction, int change)
           
 boolean select(SyncInfo info)
          Return true if the provided SyncInfo matches the filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncInfoFilter

public SyncInfoFilter()
Method Detail

getDirectionAndChangeFilter

public static SyncInfoFilter getDirectionAndChangeFilter(int direction,
                                                         int change)

select

public boolean select(SyncInfo info)
Return true if the provided SyncInfo matches the filter. The default behavior it to include resources whose syncKind is non-zero.

Parameters:
info -
Returns:

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.